﻿package org.openChart.sprite
{
	import flash.display.Sprite;
	import flash.geom.Point;
	import org.openChart.display.DisplayColorLabel;
	import org.openChart.display.DisplayColorLabelGroup;
	import org.openChart.meta.data.GroupSet;
	import org.openChart.sprite.CommandHandler;
	import org.openChart.sprite.ContainerSprite;
	import org.openChart.sprite.groups.GroupSprite;
	
	/**
	 * ...
	 * @author Chongyuan
	 */
	public class ColorLabelGroup extends ContainerSprite
	{
		public function ColorLabelGroup( displayObject:DisplayColorLabelGroup, commandHandler:CommandHandler ) 
		{
			super(displayObject, commandHandler);
			for (var i:uint = 0; i < displayObject.length; i++ )
			{
				var displayColorLabel:DisplayColorLabel = displayObject.getAt(i);
				var colorLabel:ColorLabelSprite = new ColorLabelSprite(displayColorLabel, this);
				this.addChild(colorLabel);
			}
			
		}
		
		public override function paint():void
		{
			
		}
		
	}
	
}